<?php
/**
 * Created by PhpStorm.
 * User: admin
 * Date: 2016/11/4
 * Time: 14:29
 */

return [
    'run_model' => env('RUN_MODEL','TT_'),

    'common_cache_time' => 60 * 60 * 24 * 2,

    'cache_key' =>[
        //用户相关的key
        'user' => [
            'info' => 'USER_INFO_',
            'appid' => 'USER_FROM_APPID_',
            'cache_time' => 60 * 60 * 2,
        ],
        'user_record' => [
            'nick_name' => 'NICK_NAME_',
            'record' => 'RECORD_',
            'attributes' =>'RECORD_ATTRIBUTE_'
        ],
        //测评相关的可以
        'testing' => [
            'info' => 'TESTING_INFO_',
            'name' => 'TESTING_NAME_',
            'list' => 'TESTING_LIST_',
            'item' => 'TESTING_ITEM_',
            'question' => 'TESTING_QUESTION_',
            'question_list' => 'TESTING_QUESTION_LIST_',
        ],
        'category' =>[
            'list' => 'CATEGORY_LIST',
            'info' => 'CATE_INFO_'
        ],
        'system' =>[
            'key'=> 'KEY_',
            'list' => 'SET_LIST',
            'tag' => 'TAG_',
            'tag_count' => 'TAG_COUNT_'
        ],
        'param_config' =>[
            'key'=> 'PKEY_',
            'list' => 'PSET_LIST',
            'tag' => 'PTAG_',
            'tag_count' => 'PTAG_COUNT_',
            'recipe' => [
                'url' => 'RECIPE_URL_',
            ],
        ],
        'result_type' =>[
            'info' => 'RESULT_TYPE_INFO_'
        ],
        'result_attribute' =>[
            'info' => 'RESULT_ATTRIBUTE_INFO_'
        ],
        'recommend_product' =>[
            'info' => 'RESULT_PRODUCT_INFO_'
        ],
        'developer_url' =>[
            'info' => 'DEVELOPER_URL_INFO_',
            'dev_code' => 'DEV_CODE_',
        ],
        'developer' =>[
            'info' => 'DEVELOPER_INFO_'
        ],
        'developer_link' =>[
            'list' => 'DEVELOPER_LINK_LIST_'
        ],
        'DWechart' =>[
            'data'=>'DW_ECHART_DATA_',
        ],
        'testing_user_tag' =>[
            'info' => 'TESTING_USER_TAG_INFO_',
            'latest_tag_info' => 'TESTING_LATEST_TAG_'
        ],
        'reids' =>[
            'visit'=>'VISIT_',
        ],
        'developer_testing_rel' => [
            'info' => 'DEVELOPER_TESTING_REL_INFO_',
            'list' => 'DEVELOPER_TESTING_LIST_',
        ],
        'jzmatchrelation' => [
              'oid' => 'JZ_MATCH_RELATION_OID_',
              'uidTid' => 'JZ_MATCH_RELATION_UID_TID_',
              'appid' => 'JZ_MATCH_RELATION_APPID_',
              'tidAppid' => 'JZ_MATCH_RELATION_TID_APPID_',
        ],
        'jzorder' => [
            'info' => 'JZ_ORDER_INFO_',
            'id' => 'JZ_ORDER_ID_',
        ],
        'jznutritionist' => [
            'allName' => 'JZ_NUTRI_ALL_',
        ],
    ]


];